using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BusinessPlatform.Core.BusinessObject;

namespace BusinessPlatform.Test.SalesOrder
{
    /// <summary>
    /// 销售订单行集合
    /// </summary>
    public class SalesOrderLines : BusinessObjectListBase<ISalesOrder, ISalesOrderLine>, ISalesOrderLines
    {
        /// <summary>
        /// 销售订单行集合构造函数
        /// </summary>
        public SalesOrderLines(ISalesOrder parent)
            : base(parent)
        {

        }
        /// <summary>
        /// 创建对象
        /// </summary>
        public override ISalesOrderLine New()
        {
            ISalesOrderLine line = new SalesOrderLine();
            this.Add(line);
            return line;
        }
    }
}
